package com.sf.fy.uav.common.response.shopping;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author 01430312
 */
@Data
public class CommodityResponse {

    private String id;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("图片数组，主图放在第一")
    private String images;

    @ApiModelProperty("商品简介")
    private String introduction;

    @ApiModelProperty("售价")
    private BigDecimal price;

    @ApiModelProperty("库存数量")
    private Integer amount;

    @ApiModelProperty("购买数量")
    private Integer cnt;

    @ApiModelProperty("1正常，2下架，3售罄，4库存不足")
    private Integer showStatus = 1;
}
